export const getData = (data) => {
    if (data === '2') {
        return Promise.resolve({
            code: 200,
            success: true,
            data: [
                {
                    time: '2022-02-07',
                    isChecked: true
                },
                {
                    time: '2022-02-08',
                    isChecked: true
                },
                {
                    time: '2022-02-09',
                    isChecked: true
                }
            ]
        })
    }
    if (data === '3') {
        return Promise.resolve({
            code: 200,
            success: true,
            data: [
                {
                    time: '2022-03-01',
                    isChecked: true
                },
                {
                    time: '2022-03-02',
                    isChecked: true
                },
                {
                    time: '2022-03-03',
                    isChecked: true
                }
            ]
        })
    }
}